import React, { Component } from 'react'
import '../../assets/css/three.css'
import {getindexgoods} from '../../request/api'

export default class goods extends Component {
    constructor(){
        super()
        this.state={
            list:[]
        }
    }
    componentDidMount(){

    }
    list(){
        getindexgoods().then(res=>{
            console.log(res);
        })
    }
    render() {
        return (
            <div>
                <ul className='three-router'>
                    <li>
                        <div className='left'>
                            <img src="img/cardplateindexkingkongbig@3x.png" alt="" />
                        </div>
                        <div className='right'>
                            <p>溪牧原山茶花洁面乳精选太行山最……</p>
                            <div  className='price'>
                                <span>￥1.99</span><br />
                                <s>$199.00</s>
                            </div>
                            <div className='catr'>加入购物车</div>
                        </div>
                    </li>
                </ul>
            </div>
        )
    }
}
